package checkers;

import java.util.List;
import java.util.Observable;
import checkers.*;

public abstract class CheckersGUI extends Observable {

    protected CheckersMovement lastUserChosenMovement;
    public static final byte NOTIFY_USER_HAS_CHOOSED_MOVEMENT = 1;

    public abstract void showBoard(CheckersState checkersState);

    public abstract void requestUserMovement(List<CheckersMovement> avaiableMovements);

    public void notify(Object arg) {
        this.setChanged();
        notifyObservers(arg);
    }

    public CheckersMovement getLastUserChosenMovement() {
        return lastUserChosenMovement;
    }
    
}
